package cn.gene.timeyan.ums.webapi.ums.mapper;

import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

/**
 * 用户设置    Mapper  接口*
 *
 * @author LWG
 * @date 2022/7/23 11:22
 * @since 1.0.0@gene.cn
 */
@Repository
public interface SetMapper {
    /**
     * 消息免打扰
     * @param userId 修改状态
     * @return 受影响行数
     */
    Integer changeState(@Param("userId") Long userId, @Param("state") String state);

}
